package com.lanou.utils.code;

/**
 * @Author：刘松
 * @Date ：2023/10/22 21:11
 */
public class VerifyCode {

    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    private static VerifyCode verifyCode = null;

    private VerifyCode(){}

    public static VerifyCode getInstance(){
        if (verifyCode == null){
            synchronized (VerifyCode.class){
                if (verifyCode == null){
                    verifyCode = new VerifyCode();
                }
            }
        }
        return verifyCode;
    }

}
